﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;

namespace OrderConsoleApplication
{
    class Program
    {
        static void Main(string[] args)
        {
            int port = 8080;
            IPAddress ipa = new IPAddress(0x0100007F);
            TcpListener tcpL = new TcpListener(ipa, port);
            tcpL.Start();
            Console.WriteLine("Star Listerner ....");
            while (true)
            {
                TcpClient client = tcpL.AcceptTcpClient();
                Server wapper = new Server(client);
            }
          
        }
    }
}
